import { Consignee } from '../model/consignee';
import { IUser } from '../model/user';

export interface WeApp extends IApp {
    globalData: {
        userInfo: wx.IData;
    };
    //getUserInfo(cb: (info: wx.IData) => void): void;
    getUserInfo(tryAgain?: boolean): Promise<IUser>;

    addCurUserShopCar(num: number): void;

    setCurUserDefaultConsignee(data: Consignee): void;

}